package com.ekuaitu.kuaitustaff.bean;

/**
 * Created by 17310 on 2018/10/8.
 */

public class DestinationBean {

    /**
     * errCode : 0
     * message : 获取成功
     * attachment : {"location":"大望路地铁站","longitude":116.230141,"latitude":40.199368,"actionType":0,"operateRange":200}
     */

    private int errCode;
    private String message;
    private AttachmentBean attachment;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * location : 大望路地铁站
         * longitude : 116.230141
         * latitude : 40.199368
         * actionType : 0
         * operateRange : 200
         */

        private String location;
        private double longitude;
        private double latitude;
        private int actionType;
        private int operateRange;

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public int getActionType() {
            return actionType;
        }

        public void setActionType(int actionType) {
            this.actionType = actionType;
        }

        public int getOperateRange() {
            return operateRange;
        }

        public void setOperateRange(int operateRange) {
            this.operateRange = operateRange;
        }
    }
}
